package com.zhiyou100.entity;

import lombok.*;

import java.util.Set;

/**
 * 课程实体类
 *
 * @author yang
 * @version 1.0.0
 * @date 2020-09-19 15:10
 */
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Setter
@Getter
public class Course {
    private Integer cid;
    private String cname;
    private Set<Student> studentSet;

    @Override
    public int hashCode() {
        return super.hashCode();
    }

    @Override
    public boolean equals(Object obj) {
        return super.equals(obj);
    }

    @Override
    public String toString() {
        return "Course{" +
                "cid=" + cid +
                ", cname='" + cname + '\'' +
                '}';
    }
}
